package com.sghd.pojo.fight.game;

/**
 * @author frank
 * @date 2018-10-30 14:31
 * @desc
 **/
public class BuffReport {
    private int id;
    /**buff类型*/
    private UnitValue buffType;
    //buff数值
    private int value;
    /**冷确*/
    private int time;
    private int level;

    public static BuffReport valueOf(int id, UnitValue type, int value, int time, int level) {
        BuffReport report = new BuffReport();
        report.id = id;
        report.value = value;
        report.time = time;
        report.buffType = type;
        report.level = level;
        return report;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public UnitValue getBuffType() {
        return buffType;
    }

    public void setBuffType(UnitValue buffType) {
        this.buffType = buffType;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }
}
